package com.dreamlike.demo.HttpUtil.SpringCore.Annotation;

import com.dreamlike.demo.HttpUtil.SpringCore.HttpUtilRegistrar;
import org.springframework.context.annotation.Import;
import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(HttpUtilRegistrar.class)
public @interface HttpComponentScanner {
    @AliasFor("basePackages")
    String value() default "";

    @AliasFor("value")
    String basePackages() default "";

}
